cmake_minimum_required(VERSION 3.10)

project(DesklampTinyPoseInference)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(OpenCV REQUIRED)
if(OpenCV_FOUND)
    message(STATUS "找到OpenCV版本: ${OpenCV_VERSION}")
    message(STATUS "OpenCV库路径: ${OpenCV_LIBS}")
endif()

find_package(OpenVINO REQUIRED)
if(OpenVINO_FOUND)
    message(STATUS "找到OpenVINO版本: ${OpenVINO_VERSION}")
endif()

add_executable(${PROJECT_NAME} main.cpp)


target_link_libraries(${PROJECT_NAME} PRIVATE 
    ${OpenCV_LIBS}
    openvino::runtime
)

message(STATUS "配置完成, 在build目录运行 'make' 来编译项目")
